package com.jinzecloud.reportapproval.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinzecloud.reportapproval.form.MenuBaseForm;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 菜单
 *
 * @Author 1024创新实验室: 善逸
 * @Date 2022-03-06 22:04:37
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright  <a href="https://1024lab.net">1024创新实验室</a>
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MenuVO extends MenuBaseForm {


    @ApiModelProperty(value = "菜单ID")
    @Schema(description = "菜单ID")
    private Long menuId;

    @ApiModelProperty(value = "创建时间")
    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @Schema(description = "创建人")
    private Long createUserId;

    @ApiModelProperty(value = "更新时间")
    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @Schema(description = "更新人")
    private Long updateUserId;
}
